package com.yizn.learn.springext.initializingbean;

import org.springframework.stereotype.Service;

import javax.annotation.PostConstruct;

/**
 * project : my-learn
 * <p> 9.1 使用@PostConstruct注解 </p>
 *
 * @author yisl
 * @date 2023-01-13【星期五】
 **/
@Service
public class AService {
    @PostConstruct
    public void init(){
        System.out.println("AService 初始化方法");
    }
}
